<?php
if (!isset($xrvel_scaffolding_view)) $xrvel_scaffolding_view = '';
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>My Xrvel Scaffolding Test</title>
<base href="<?php echo base_url(); ?>" />
<style type="text/css">
a {
	color:#000066;
}
body {
	background-color:#FFFF99;
}
</style>

<!-- style sample for xrvel scaffolding -->
<style type="text/css">
.xrvel_scaffolding_error {
	background-color:#FFFFCC;
	border:solid #FF0000 1px;
	color:#FF0000;
	font-size:0.8em;
	padding:0.4em;
}
.xrvel_scaffolding_header {
	font-family:Tahoma, Verdana, Arial, Helvetica, sans-serif;
	font-size:1.2em;
}
.xrvel_scaffolding_ok {
	background-color:#FFFFCC;
	border:solid #00CC00 1px;
	color:#006600;
	font-size:0.8em;
	padding:0.4em;
}
td.xrvel_scaffolding_td_form_name {
	background-color:#CCCCCC;
	width:20%;
}
.xrvel_scaffolding_submit {
	background-color:#FFFFCC;
	border:solid #006633 1px;
	color:#0000CC;
	cursor:pointer;
	font-weight:900;
}
</style>
<!-- style sample for xrvel scaffolding -->
</head>
<body>
	<div style="background-color:#FFFFFF;margin-left:auto;margin-right:auto;width:90%">
		<div style="padding:1em">
			<h1><a href="index.php">Welcome to Xrvel Scaffolding Test</a></h1>
			<div>You can edit this template or use your custom template here</div>
			<table cellpadding="5" cellspacing="0" style="width:100%">
				<tr valign="top">
					<td style="width:10%">
						<strong>Food :</strong><br />
						<a href="index.php/c_food/view/">View</a><br />
						<a href="index.php/c_food/add/">Add</a><br />
						<br />
						<strong>Food Tastes :</strong><br />
						<a href="index.php/c_food_taste/view/">View</a><br />
						<a href="index.php/c_food_taste/add/">Add</a><br />
						<br />
						<strong>Food Type :</strong><br />
						<a href="index.php/c_food_type/view/">View</a><br />
						<a href="index.php/c_food_type/add/">Add</a><br />
						<br />
						<a href="http://www.google.com">Sample menu 1</a><br />
						<a href="http://www.xrvel.com">Xrvel Blog</a>
					</td>
					<td>
						<?php echo $xrvel_scaffolding_view; ?>
					</td>
				</tr>
			</table>
			<div style="margin-top:2em;text-align:right">
				Current date : <?php echo $current_date; ?> <!-- from passed data --><br />
				&copy; Example 2010
			</div>
		</div>
	</div>
</body>
</html>